package com.cn.queue;

public class Main {
	
	public static void main(String args[]){
		Solution ss=new Solution();
		for(int i=0;i<10;i++){
			   ss.push(i);
			}
		while(!ss.empty()){
			System.out.print(ss.pop()+" ");
		}
	}

}
